<?php
abstract class Controller_Security extends Controller{
    public function __Construct($method){
        if(TRUE!==Model_Account::IsLogin()){
            Template::Assign('AlertSwitch','block');
            Template::Assign('AlertMessage','会话超时，请重新登录。');
            Template::Display('login.html');
        }
        else{
            parent::__Construct($method);
        }
    }
}
?>